package com.elinkway.infinitemovies.bigdata;

import android.os.Bundle;

import com.lvideo.http.bean.LVideoBaseBean;
import com.lvideo.http.bean.LVideoDataHull;

/**
 * 搜索动作上报
 */
public class BigDataSearchActionTask extends BigDataBaseTask {

    public BigDataSearchActionTask setExtraData(Bundle extraParams) {
        putOneBundle(extraParams);
        setBigData(false);
        return this;
    }
    @Override
    public boolean execute() {
        LVideoDataHull<LVideoBaseBean> d = BigDataApi.postSearchAction(params);
        return d.getDataType() == LVideoDataHull.DataType.DATA_PARSER_IS_NULL;
    }
}
